package com.tjetc.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.tjetc.domain.Scheduling;
import com.tjetc.vo.Result;

import java.util.Date;

public interface SchedulingService{


    int deleteByPrimaryKey(Integer id);

    int insert(Scheduling record);

    int insertSelective(Scheduling record);

    Scheduling selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Scheduling record);

    int updateByPrimaryKey(Scheduling record);

    Result getState(Integer cid) throws JsonProcessingException;

    Result getSchedulingList(Integer cid, Date date);

    Result delete(Integer id);


    Result add(Scheduling scheduling);

    Result update(Scheduling scheduling);

    Result selByDoc(Integer did);

    Result getNowScheduling(Integer did);
}
